<?php
/**
 * (commands) 解析-移除订单详情报告
 */
namespace App\Console\Commands\SpApi\Report\Parse;

use App\Crontab\Daily\SpApi\GrabParseReport;
use Illuminate\Console\Command;
use SellingPartnerApi\ReportType;
class FulfillmentRemovalDetail extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'sp-report:parse-fulfillment-removal-detail';

    /**
     * The console command description.
     * @var string
     */
    protected $description = 'exe func';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     */
    public function handle()
    {
        $reportType = ReportType::GET_FBA_FULFILLMENT_REMOVAL_ORDER_DETAIL_DATA;
        GrabParseReport::grab($reportType);
        $this->info('finish!');
    }
}
